#!/bin/bash

while read line; do
	word=$(echo $line | awk '{print substr($0,19,1)}')
	# 汉字value排在每行第19个字符. cut -c 19 很简单,但我机器上测试结果返回不了汉字,所以用了awk
        fname=$(echo "trainning_data/")$word$(echo ".s") 
	echo $line >> ${fname} ;
done
